<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
        
<!--        <link type="text/css" rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css">-->
<!--        <link type="text/css" rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/ui-lightness/jquery-ui.css">-->
<!--        <link type="text/css" rel="stylesheet" href="/static/css/smoothness/jquery-ui-1.8.18.custom.css">-->
        <link type="text/css" rel="stylesheet" href="/static/css/start/jquery-ui-1.8.24.custom.css">
<!--        <link type="text/css" rel="stylesheet" href="/static/css/redmond/jquery-ui-1.8.23.custom.css">-->
<!--        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>-->
        <script src="/static/javascript/jquery-1.7.2.js"></script>
<!--        <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>-->
        <script src="/static/javascript/jquery-ui-1.8.18.custom.min.js"></script>
        <link type="text/css" rel="stylesheet" href="/static/css/style.css">
        {% block extra_libraries %}{% endblock %}
        <title>{% block title %}{{ page_title }}{% endblock %}</title>
    </head>

    <body>
        <div id="header">
            <div id="logo">
                <h1><a href="/">CollabaratiVe</a></h1>
                <p>develop by <a href="#">RAM</a></p>
            </div>
            <div id="menu">
                <ul>
                    {% if admin_user %}
                    <li><a href="/admin/members">Admin</a></li>
                    {% endif %}
                    <li><a href="/projects">Projects</a></li>
                </ul>
                <ul class="right">
                    <li><a  href="#">{{ user.nickname }}</a> </li>
                    <li><a href="{{ logout_url|escape }}">Signout</a></li>
                </ul>
            </div>
        </div>
        <div id="page-outer">
            <div id="page">
                <div id="content">
                    <div class="post">
                        {% block content %}
                        {% endblock %}
                    </div>
                </div>
                <div class="clearboth"></div>
            </div>
        </div>
        <div id="sidebar">
            {% for event in events %}
            <div class="event">
                <span class="person">{{event.author.nickname}}</span> <span>{{event.summary}}</span>
                <div>
                    <span class="date">{{event.date|date:"D, M j, Y H:m:s" }}</span>
                </div>
            </div>
            {% endfor %}
        </div>
    </body>
</html>
